 <include file="public:header"/>
 <style type="text/css">  
/* start 分页样式 */

.pageers{
    overflow:hidden;
/*    margin:10px 0 50px 100px;*/
    margin-top: -40px;
    float:right;
}

.pageers ul a,.pageers ul span{
    float:left;
    display:inline-block;
    padding: 0 13px;
    height:30px;
    width:auto;
    border:1px solid #DDDDDD;
    border-radius: 4px;
    background:#fff;
    text-align:center;
    line-height:30px;
    margin-right:5px;
    font-family: "microsoft yahei" simhei sans-serif;
    color:#7d7d7d;
}

.pageers ul a:hover{
    background:#337AB7;
    color:#fff;
    text-decoration:none;
}

.pageers ul span.current{
    background: #337AB7;
    color:#fff;
}


.pageers ul a:first,.pageers ul a:last{
    float:right;
    display:inline-block;
    width:30px;
    height:30px;
    border-radius:50%;
    text-align:center;
    line-height:30px;
    margin-right:10px;
    font-family: "microsoft yahei" simhei sans-serif;
}

#pageTips {
padding-top: 40px;
}
/* end 分页样式 */
</style>
<!-- Page -->
<div class="page animsition" style="animation-duration: 800ms; opacity: 1;">
    <div class="page-content padding-30 container-fluid">
        <div class="row" data-plugin="matchHeight" data-by-row="true">

            <div class="example-wrap">
                <div class="nav-tabs-horizontal nav-tabs-inverse">
                    <ul class="nav nav-tabs nav-tabs-solid" data-plugin="nav-tabs" role="tablist">
                        <li class="active" role="presentation">
                            <a href="#">
                                全部
                            </a>
                        </li>
                    </ul>
                    <div class="tab-content">
                        <div class="tab-pane active" id="exampleTabsSolidInverseOne" role="tabpanel">
                            <div class="alert alert-alt alert-danger alert-dismissible" role="alert">
                                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                                    <span aria-hidden="true">×</span>
                                </button>
                                <p>
                                    硬盘（Volume）为主机提供块存储设备，它独立于主机的生命周期而存在，可以被连接到任意运行中的主机上。注意，硬盘附加到主机上后，您还需要登录到您的主机的操作系统中去加载该硬盘。当然，也可以从主机上卸载硬盘、并转至其他主机。注意，请先在您的主机的操作系统中卸载硬盘，然后再在亿速系统中卸载。
                                </p>

                            </div>
                          <!--   <button type="button" class="btn btn-danger pull-left btn-create" data-toggle="modal"><i class="icon wb-plus" aria-hidden="true"></i> 创建云盘
                            </button> -->
                            <div class="pull-left">
                                    <a href="{:U('home/service/index')}" class="btn btn-danger" target="_blank">
                                        <i class="icon wb-plus" aria-hidden="true"></i> 创建云盘
                                    </a>
                            </div>
                            <form action="{:U('home/console/cipan')}" method="post" class="form-inline text-right">
                              <!--   <div class="form-group">
                                    <select class="form-control" name="ds[region_id]" style="width:160px;">
                                        <option value="">全部机房</option>
                                                                            </select>
                                    <select data-plugin="selectpicker" id="picker" name="ds[keyid]" class="bs-select-hidden">
                                        <option value="0">磁盘名称</option>
                                        <option value="1">创建中</option>
<option value="2">待挂载</option>
<option value="3">挂载中</option>
<option value="4">使用中</option>
<option value="5">卸载中</option>
<option value="6">已暂停</option>
<option value="7">已过期</option>
<option value="8">已删除</option>                                    </select><div class="btn-group bootstrap-select"><button type="button" class="btn dropdown-toggle btn-select" data-toggle="dropdown" data-id="picker" title="磁盘名称"><span class="filter-option pull-left">磁盘名称</span>&nbsp;<span class="bs-caret"><span class="caret"></span></span></button><div class="dropdown-menu open"><ul class="dropdown-menu inner" role="menu"><li data-original-index="0" class="selected"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">磁盘名称</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="1"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">创建中</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="2"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">待挂载</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="3"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">挂载中</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="4"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">使用中</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="5"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">卸载中</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="6"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">已暂停</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="7"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">已过期</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="8"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">已删除</span><span class="icon wb-check check-mark"></span></a></li></ul></div></div>
                                </div>
 -->
                                <div class="form-group">
                                   <!--  <input type="text" class="form-control" name="ds[keywords]" id="search" placeholder="请输入磁盘名称精确查询" autocomplete="off"> -->
                                    <input type="text" value='{$Think.post.keyword}' class="form-control" name="keyword" placeholder="请输入磁盘名称精确查询" style="width:200px;">
                                </div>
                                <div class="form-group">
                                    <button type="submit" class="btn btn-primary btn-outline" id="button">搜索</button>
                                </div>
                            </form>
                            <table class="table table-hover" data-selectable="selectable" data-row-selectable="true" data-page-size="10">
                                <thead>
                                <tr>
                                    <th class="width-50">
                                          <span class="checkbox-custom checkbox-default">
                                            <input class="selectable-all" type="checkbox">
                                            <label></label>
                                          </span>
                                    </th>
                                    <th>磁盘名称</th>
                                    <th>挂载实例</th>
                                    <th>时效</th>
                                    <th class="hidden-xs">磁盘种类</th>
                                    <th class="hidden-xs">磁盘状态</th>
                                    <th>付费类型</th>
                                    <th class="hidden-xs">容量（GB）</th>
                                    <th>可卸载</th>
                                    <th>可用区</th>
                                    <th>磁盘属性</th>
                                    <th>购买方式</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                    <foreach name="list" item="vo">
                                        <tr>
                                            <td>
                                              <span class="checkbox-custom checkbox-default">
                                                <input class="selectable-item" type="checkbox" id="row-qys-5bae3624ebdce4-10044907" value="qys-5bae3624ebdce4-10044907">
                                                <label for="row-qys-5bae3624ebdce4-10044907"></label>
                                              </span>
                                            </td>
                                           <!--  <td>磁盘-20180928220940.9238<p class="blue">qys-5bae3624ebdce4-10044907</p></td> -->
                                            <td>
                                               磁盘-{$vo.diskid}
                                            </td>
                                            <td>
                                                <p class="blue" title="云服务器-20180928220940.6798">云服务器-{$vo.instanceid}</p>             
                                                <p>{$vo.ipaddress}</p>
                                            </td>
                                            <td class="hidden-xs">
                                                <div class="text-muted">
                                                    <i class="wb wb-time"></i>
                                                    <span id="expired_qyi-5bae3624e8aeb6-84655905">
                                                        {$vo.creationtime|date='Y/m/d',###} - 
                                                        <span>{$vo.stoptime}</span>
                                                    </span>
                                                </div>
                                            </td>
                                            <td>
                                                <if condition="$vo.category eq 'cloud_ssd'">
                                                    SSD云盘
                                                <else/> 
                                                    高效云盘  
                                                </if> 
                                            </td>
                                           <!--  In_use 使用中;Available 待挂载;Attaching 挂载中;Detaching    卸载中;Creating 创建中;Deleting 删除中;Deleted 已删除;ReIniting 初始化中 -->
                                            <td class="hidden-xs" id="status_qys-5bae3624ebdce4-10044907">
                                                <if condition="$vo.status eq 'In_use'">
                                                    <span class="label label-success">使用中</span>
                                                <elseif condition="$vo.status eq 'Available'"/>
                                                    <span class="label label-success">待挂载</span>
                                                <elseif condition="$vo.status eq 'Attaching'"/>
                                                    <span class="label label-success">挂载中</span>
                                                <elseif condition="$vo.status eq 'Detaching'"/>
                                                    <span class="label label-success">卸载中</span>
                                                <elseif condition="$vo.status eq 'Creating'"/>
                                                    <span class="label label-success">创建中</span>
                                                <elseif condition="$vo.status eq 'Deleting'"/>
                                                    <span class="label label-success">删除中</span>
                                                <elseif condition="$vo.status eq 'Deleted'"/>
                                                    <span class="label label-success">已删除</span>
                                                <else />
                                                    <span class="label label-success">初始化中</span> 
                                                </if>   
                                            </td>
                                            <td class="hidden-xs">
                                                <if condition="$vo.diskchargetype eq 'PrePaid'">
                                                    包年包月
                                                <else/>
                                                    按量付费
                                                </if>                                   
                                            </td>
                                            <td class="hidden-xs">
                                                {$vo.size}                                                   
                                            </td>
                                            <td class="hidden-xs">
                                                <if condition="$vo.portable eq 'true'">
                                                    支持
                                                <else/>
                                                    不支持
                                                </if>                                   
                                            </td>
                                            <td class="hidden-xs">
                                                {$vo.areaname}
                                            </td>
                                            <td>
                                                <if condition="$vo.category eq 'data'">
                                                    数据盘
                                                <else/> 
                                                    系统盘  
                                                </if> 
                                            </td>
                                            <td class="hidden-xs" id="status_qyi-5bae3624e8aeb6-84655905">
                                                <if condition="$vo.pay eq 0">
                                                    <span style="color: red">余额</span>
                                                <elseif condition="$vo.pay eq 1"/>
                                                    <span style="color: red">微信</span>
                                                <elseif condition="$vo.pay eq 2"/>
                                                    <span style="color: red">支付宝</span>
                                                <else />
                                                    <span style="color: red">网银</span> 
                                                </if>   
                                            </td>
                                            <td>
                                            <div class="dropdown pull-left">
                                                <a href="javascript:void(0)" class="btn-renew btn-disabled" data-sn="qys-5bae3624eb5e97-67305416" data-tag="磁盘-20180928220940.8887">续费</a>
                                               <!--  <a href="#">查看</a> -->
                                                <a href="javascript:void(0)" class="btn-del btn-disabled" sname="磁盘-20180928220940.8887" sn="qys-5bae3624eb5e97-67305416">删除</a>
                                                <!--<a href="javascript:void(0)"
                                                   class="btn-expansion "
                                                   data-sn="" data-tag="">扩容</a>-->
                                                <a data-toggle="dropdown" aria-expanded="true" role="button">更多 <span class="caret"></span></a>
                                                <ul class="dropdown-menu bullet dropdown-menu-right" aria-labelledby="examplePanelDropdown" role="menu">
                                                    <li role="presentation">
                                                        <a href="javascript:void(0)" id="mount-qys-5bae3624eb5e97-67305416" class="btn-load btn-disabled" role="menuitem" data-sn="qys-5bae3624eb5e97-67305416" data-tag="磁盘-20180928220940.8887">
                                                            <i class="icon wb-replay" aria-hidden="true"></i> 加载到云服务器</a>
                                                    </li>
                                                    <li role="presentation">
                                                        <a href="javascript:void(0)" role="menuitem" id="unmount-qys-5bae3624eb5e97-67305416" class="btn-unmount btn-disabled" data-sn="qys-5bae3624eb5e97-67305416" data-tag="磁盘-20180928220940.8887">
                                                            <i class="icon wb-power" aria-hidden="true"></i> 从云服务器卸载</a>
                                                    </li>
                                                    <!--<li role="presentation">
                                                        <a href="javascript:void(0)" role="menuitem" class="btn-snapshot"
                                                           data-sn="" data-tag="">
                                                            <i class="icon wb-desktop" aria-hidden="true"></i> 创建快照</a>
                                                    </li>-->
                                                    <li role="presentation">
                                                        <a href="javascript:void(0)" role="menuitem" class="btn-desc" data-sn="qys-5bae3624eb5e97-67305416" data-tag="磁盘-20180928220940.8887">
                                                            <i class="icon wb-settings" aria-hidden="true"></i> 修改磁盘描述</a>
                                                    </li>
                                                    <!--<li role="presentation"><a href="javascript:void(0)" role="menuitem"><i
                                                                class="icon wb-copy" aria-hidden="true"></i> 账单</a></li>-->
                                                </ul>
                                            </div>
                                        </td>
                                        </tr>
                                    </foreach>    
                                </tbody>
<!--                                 <tfoot>
                                <tr>
                                    <td colspan="13">
                                        <div>
                                            <div class="pull-right">
                                                <div class="qypager">



</div>                                            </div>
                                            <div class="pull-right" style="width:100%;">
                                                <div class="alert alert-primary alert-dismissible" role="alert">
                                                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                                                        <span aria-hidden="true">×</span>
                                                    </button>
                                                    <ul style="font-size:14px;line-height:1.8;">
                                                        <li style="margin-top:14px;width:300px;">帮助文档：《<a href="#" target="_blank" style="color:#0000c0;text-decoration:none;">Windows磁盘挂载文档</a>》
                                                        </li>
                                                        <li>帮助文档：《<a href="#" target="_blank" style="color:#0000c0;text-decoration:none;">Linux磁盘挂载文档</a>》
                                                        </li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                </tfoot> -->
                            </table>
                            <div class="pageers">
                                <ul>
                                   {$show}
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<style>
    .btn-disabled{
        box-shadow:none;
        cursor:not-allowed;
        opacity:0.5;
        pointer-events:none;
    }
</style>
<!--弹窗-创建云盘-->
<div class="modal fade" id="createModel" aria-hidden="true" aria-labelledby="createModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">购买磁盘</h4>
            </div>
            <div class="modal-body">
                <div class="example-grid">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="create_instance">挂载目标实例</label>
                                <div id="create_instance_box">
									<select id="create_instance" class="form-control">
										<option value="">请选择挂载目标</option>
									</select>
								</div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="create_region">机房</label>
                                <input type="text" class="form-control" id="create_region" name="挂载目标实例" required="required" value="" readonly="true">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="crete_storage_type">硬盘类型</label>
                                <div id="crete_storagetype_box">
									<select id="crete_storage_type" data-plugin="selectpicker" class="form-control bs-select-hidden" disabled="">
										<option value="">请选择硬盘类型</option>
										<option value="normal">普通</option>
										<option value="high">高效型</option>
										<option value="ssd" selected="">SSD</option>
									</select><div class="btn-group bootstrap-select disabled form-control"><button type="button" class="btn dropdown-toggle disabled btn-default" data-toggle="dropdown" data-id="crete_storage_type" tabindex="-1" title="SSD"><span class="filter-option pull-left">SSD</span>&nbsp;<span class="bs-caret"><span class="caret"></span></span></button><div class="dropdown-menu open"><ul class="dropdown-menu inner" role="menu"><li data-original-index="0"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">请选择硬盘类型</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="1"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">普通</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="2"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">高效型</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="3" class="selected"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">SSD</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li></ul></div></div>
								</div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="create_number">个数</label>
                                <input type="text" class="form-control" id="create_number" name="数量" required="required" value="1" placeholder="最多可开通4块云盘">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="create_size">容量（GB）</label>
                                <input type="text" class="form-control" id="create_size" name="容量" required="required" value="" placeholder="容量范围：5 - 2000">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="create_month">时长</label>
                                <select id="create_month" data-plugin="selectpicker" class="form-control bs-select-hidden">
                                    <option value="1" selected="">1个月</option>
                                    <option value="2">2个月</option>
                                    <option value="3">3个月</option>
                                    <option value="6">半年</option>
                                    <option value="12">1年</option>
                                    <option value="24">2年</option>
                                    <option value="36">3年</option>
                                </select><div class="btn-group bootstrap-select form-control"><button type="button" class="btn dropdown-toggle btn-select" data-toggle="dropdown" data-id="create_month" title="1个月"><span class="filter-option pull-left">1个月</span>&nbsp;<span class="bs-caret"><span class="caret"></span></span></button><div class="dropdown-menu open"><ul class="dropdown-menu inner" role="menu"><li data-original-index="0" class="selected"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">1个月</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="1"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">2个月</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="2"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">3个月</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="3"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">半年</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="4"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">1年</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="5"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">2年</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="6"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">3年</span><span class="icon wb-check check-mark"></span></a></li></ul></div></div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="control-label" for="create_price">费用（￥）</label>
                                <input type="text" class="form-control" id="create_price" name="价格" required="required" value="0" readonly="true">
                            </div>
                        </div>
                    </div>
                     <div style="margin-top:12px;">帐户余额：<span class="text-success" id="create_account">0.0</span></div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" id="create-submit">提交</button>
            </div>
        </div>
    </div>
</div>
<!--创建云盘弹窗 End-->

<!--弹窗-挂载-->
<div class="modal fade" id="loadModel" aria-hidden="true" aria-labelledby="loadModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">将磁盘加载到云服务器</h4>
            </div>
            <div class="modal-body">
                <div class="example-grid">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="inputUserName">磁盘对象</label>
                                <input type="text" class="form-control" id="mount-name" name="状态" required="required" value="" readonly="true">
                            </div>
                        </div>

                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="inputUserName">加载目标实例</label>
                                <select class="form-control" id="mount-ins">
                                    <option value="">实例1</option>
                                    <option value="">实例2</option>
                                    <option value="">实例3</option>
                                    <option value="">实例4</option>
                                    <option value="">实例5</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="row" style="display:none;">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="inputUserName">磁盘是否随实例释放</label>
                                <select data-plugin="selectpicker" class="form-control bs-select-hidden" id="mount-follow">
                                    <option value="1">是</option>
                                    <option value="2" selected="">否</option>
                                </select><div class="btn-group bootstrap-select form-control"><button type="button" class="btn dropdown-toggle btn-select" data-toggle="dropdown" data-id="mount-follow" title="否"><span class="filter-option pull-left">否</span>&nbsp;<span class="bs-caret"><span class="caret"></span></span></button><div class="dropdown-menu open"><ul class="dropdown-menu inner" role="menu"><li data-original-index="0"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">是</span><span class="icon wb-check check-mark"></span></a></li><li data-original-index="1" class="selected"><a tabindex="0" class="" style="" data-tokens="null"><span class="text">否</span><span class="icon wb-check check-mark"></span></a></li></ul></div></div>
                            </div>
                        </div>
                    </div>
                    <!--<div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="control-label" for="inputUserName">状态</label>
                                <input type="text" class="form-control" id="inputUserName" name="状态" required="required" value="（已挂载？？？）" readonly="true">
                            </div>
                        </div>

                    </div>-->
                </div>
            </div>
            <div class="modal-footer" id="mount-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" id="mount-submit">确认</button>
            </div>
        </div>
    </div>
</div>
<!--挂载弹窗 End-->

<!--弹窗-卸载-->
<div class="modal fade" id="unmountModel" aria-hidden="true" aria-labelledby="unmountModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">从云服务器卸载磁盘</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h4>
                        您确认将对 <span class="text-danger" id="unmount-name">磁盘</span> 执行卸载操作？
                    </h4>
                </div>
                <div class="form-group">
                    <div class="checkbox-custom checkbox-default">
                        <input type="checkbox" id="inputBasicRemember" name="inputCheckbox" checked="" autocomplete="off">
                        <label for="inputBasicRemember">卸载之后，该磁盘将<a class="" data-toggle="tooltip" data-placement="right" data-trigger="click" data-original-title="卸载磁盘"> 无法正常提供服务 </a>，请您做好准备，以免造成影响</label>
                    </div>

                </div>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" id="unmount-submit">确认</button>
            </div>
        </div>
    </div>
</div>
<!--卸载弹窗 End-->

<!--弹窗-快照-->
<div class="modal fade" id="snapshotModel" aria-hidden="true" aria-labelledby="snapshotModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">创建快照</h4>
            </div>
            <div class="modal-body">
                <!-- Example Panel Tables -->
                <div class="panel">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th></th>
                            <th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>磁盘ID：</td>
                            <td id="snapshot-storname">d-94bfb62d4</td>
                        </tr>
                        <!--<tr>
                            <td>实例ID/名称：</td>
                            <td id="snapshot-instname">-942dusjrs</td>
                        </tr>-->
                        <tr>
                            <td>磁盘属性：</td>
                            <td id="snapshot-storattr">数据盘</td>
                        </tr>
                        <tr>
                            <td><span class="text-danger">*</span> 快照名称：</td>
                            <td><input type="text" class="form-control" id="snapshot-name" name="snapshot-name" required="required"><br>快照名称为2-128个字符，快照名不能以auto开头。</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <!-- End Example Panel Tables -->
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-danger" id="snapshot-submit">确认</button>
            </div>
        </div>
    </div>
</div>
<!--快照弹窗 End-->

<div class="modal fade" id="messageModel" aria-hidden="true" aria-labelledby="messageModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">提醒</h4>
            </div>
            <div class="modal-body">
                <div class="form-group" id="msg-box" style="font-size:18px;text-align: center">
                </div>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-danger" data-dismiss="modal">确认</button>
            </div>
        </div>
    </div>
</div>

<!--扩容弹窗 -->
<div class="modal fade" id="expanModel" aria-hidden="true" aria-labelledby="expanModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">磁盘扩容</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h4>
                        扩容对象：<span class="text-danger" id="expansion-name"></span>
                    </h4>

                </div>

                <table class="table table-border">
                    <tbody><tr>
                        <td>扩容后容量：</td>
                        <td>
                            <!--<input type="text" value="0" id="expan-size" class="form-control" style="width:200px"> GB-->
                            <!--<div class="spinnerUi" tabindex="0">
                                <input type="text" value="0" data-plugin="asSpinner" class="form-control" id="expan-size"> <span style="font-size:15px">GB</span>
                            </div>-->
                            <div class="num-con good-num-ct">
                                <div class="lc"><input id="expan-size" value="0" type="text"><span>G</span></div>
                                <div class="rc"><span class="btn jian"></span><span class="btn jia"></span></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>所需金额：</td>
                        <td>
                            <span class="text-danger" id="expan-money">0.00</span>
                        </td>
                    </tr>
                    <tr>
                        <td>帐户余额：</td>
                        <td>
                            <span class="text-success" id="expan-acount-money">0.00</span>
                        </td>
                    </tr>
                </tbody></table>


                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-danger" id="expan-submit">提交订单</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!--扩容弹窗 End-->

<!--续费弹窗 -->
<div class="modal fade" id="renewModel" aria-hidden="true" aria-labelledby="renewModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">磁盘续费</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h4>
                        续费对象：<span class="text-danger" id="renew-name"></span>
                    </h4>
                </div>

                <table class="table table-border">
                    <tbody><tr>
                        <td style="width:100px;"><label class="control-label" for="charge-cycle">时长：</label></td>
                        <td>
                            <!--<select id="charge-cycle" class="form-control" style="width:80px;"></select>-->
                            <div class="btn-group btn-group-sm" aria-label="Small button group" role="group" id="charge-cycle">
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="1">1个月</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="2">2个月</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="3">3个月</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="6">半年</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth active" value="12">1年</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="24">2年</button>
                                <button type="button" class="btn btn-outline btn-primary renewmouth" value="36">3年</button>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>所需金额：</td>
                        <td>
                            <span class="text-danger" id="renew-money">0.00</span>
                        </td>
                    </tr>
                    <tr>
                        <td>帐户余额：</td>
                        <td>
                            <span class="text-success" id="renew-acount-money">0.00</span>
                        </td>
                    </tr>
                </tbody></table>


                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-danger" id="renew-submit">提交订单</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!--续费弹窗 End-->

<!--描述弹窗 -->
<div class="modal fade" id="describeModel" aria-hidden="true" aria-labelledby="describeModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">修改磁盘描述</h4>
            </div>
            <div class="modal-body">
                <!-- Example Panel Tables -->
                <div class="panel">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th></th>
                            <th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td><span class="text-danger">*</span> 磁盘名称：</td>
                            <td><input type="text" class="form-control" id="desc-name" required="required" placeholder=""><br>长度限制为6-30个字符，以大小写字母或中文开头，可包含数字，"."，"_"或"-" </td>
                        </tr>
                        <tr>
                            <td><span class="text-danger">*</span> 磁盘描述：</td>
                            <td><input type="text" class="form-control" id="desc-desc" required="required"><br>最多可以输入200个字符，不能以http://或https://开头</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <!-- End Example Panel Tables -->
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-danger" id="desc-submit">确认</button>
            </div>
        </div>
    </div>
</div>
<!--描述弹窗 End-->

<!--删除弹窗 -->
<div class="modal fade" id="delModel" aria-hidden="true" aria-labelledby="delModel" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-center">
        <div class="modal-content" style="800 px">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">删除磁盘</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h4>
                        您确定要删除该磁盘？ <span class="text-danger" id="del-name"></span> <br>
                        <!--<a href="javascript:void(0)" data-toggle="tooltip" data-placement="right"  data-trigger="click" id="del-send">点击发送手机验证码</a>-->
                    </h4>
                </div>

                <!--<div class="col-md-4 form-group"><input type="text" class="form-control" placeholder="请填写验证码" id="del-code"></div>-->
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-danger" id="del-submit">确认</button>
            </div>
        </div>
    </div>
</div>
<!--删除弹窗 End-->
<!-- End Page -->

 <include file="public:footer"/>